home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 58844 / 58844.xpi / chrome / content / browser.xul next >
Extensible Markup Language  |  2010-01-27  |  2KB  |  30 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml" id="wordschinesepopupdictionary-overlay">
  3.     <script type="application/x-javascript" src="chrome://wordschinesepopupdictionary/content/wordschinesepopupdictionary.js"></script>
  4.     <statusbar id="status-bar">
  5.         <statusbarpanel insertafter="statusbar-progresspanel" context="wordschinesepopupdictionary-menu">
  6.             <image id="wordschinesepopupdictionary-statusicon" style="cursor:pointer;"
  7.                 src="chrome://wordschinesepopupdictionary/content/icon1.png"
  8.                 tooltiptext="Activate or Deactivate Words-Chinese Popup Dictionary"
  9.                 onclick="if(!event.button) { wordschinesepopupdictionary.activate() }"
  10.                 />
  11.         </statusbarpanel>
  12.  
  13.         <menupopup id="wordschinesepopupdictionary-menu" >
  14.             <menuitem label="Search words-Chinese.com" oncommand="wordschinesepopupdictionary.goHome()"/>
  15.             <menu label="Chinese->Language..">
  16.                 <menupopup onpopupshown="wordschinesepopupdictionary.showMenu()">
  17.                     <menuitem id="wordschinesepopupdictionary-lang-en" label="English" type="radio" name="wclang" oncommand="wordschinesepopupdictionary.chooseLanguage('en')"/>
  18.                 </menupopup>
  19.             </menu>
  20.             <menuseparator/>
  21.             <menuitem label="Help / How to use?" oncommand="wordschinesepopupdictionary.showHelp()" />
  22.             <menuitem label="About the Addon" oncommand="wordschinesepopupdictionary.showAbout()" />
  23.             <menuseparator/>
  24.             <menuitem label="Contact / Report bugs." oncommand="wordschinesepopupdictionary.bugReport()"/>
  25.             <menuitem label="De/Activate" oncommand="wordschinesepopupdictionary.activate()" />
  26.         </menupopup>
  27.  
  28.     </statusbar>
  29.  
  30. </overlay>